package com.edu.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.edu.admin.common.BaseMapper;
import com.edu.admin.entity.SysClassesTeacher;
import com.edu.admin.vo.ClassesTeacherVo;

/**
 * 班级表数据操作接口
 * 
 * @author Wangjiong
 * 
 */
@Mapper
public interface ClassesTeacherMapper extends BaseMapper<SysClassesTeacher> {

	/**
	 * 获取班级教师信息
	 * 
	 * @param teacherid
	 * 
	 * @return List<ClassesTeacherVo>
	 */
	List<ClassesTeacherVo> getClassesTeacherByTeacherId(@Param("teacherId") Long teacherId);
	
	/**
	 * 删除班级学科教师
	 * 
	 * @param classesId
	 * @param subjectId
	 * 
	 * @return
	 */
	void deleteClassesTeacherByClassesIdAndTeacherId(@Param("classesId") Long classesId,
													@Param("subjectId") Long subjectId);
	
	
	/**
	 * 删除班级教师关联
	 * 
	 * @param teacherId
	 * @return
	 */
	void deleteClassesTeacherByTeacherId(Long teacherId);
		
	

}
